Method for Displaying Time on a Mobile Telephone

ABSTRACT

A method for time display on a mobile phone is disclosed. The method includes setting a pseudo power off identifier for said mobile phone responsive to receiving a pseudo power off setting from a user of said mobile phone. The method also includes entering said pseudo power off state upon receiving a pseudo power off indication from said user when said pseudo power off identifier is set. The method additionally includes periodically obtaining a new time value through a bottom clock, and displaying said new time value on a LCD of said mobile phone in said pseudo power off state.

PRIORITY CLAIM

This application is related to and claims priority to a commonly assigned Chinese patent application entitled “A Method For Displaying Time on a Mobile Telephone,” by Lin et al., Chinese Application Serial No. 200410065338.1 filed on Nov. 24, 2004, and to International PCT Application Serial No. PCT/CN2005/001292, filed Aug. 18, 2005, both of which are incorporated by reference herein.

TECHNICAL FIELD

The present invention relates to time display on a communication terminal, and especially, to time display on a mobile phone.

DESCRIPTION OF THE RELATED ART

In recent years, mobile phone technology has developed quickly, and various aspects, such as the size of PCB plate, standby current, process and model, the performance of software, have seen considerable progress. For mainstream service applications, functions such as MMS, WAP, BREW and E-MAIL have been perfected continually and accepted by the consumers gradually. Further, research and development (R&D) engineers for mobile phone markets at home and abroad have made continuous innovation and exploration, and many new applications constructed on the mobile phone have been invented. These more user-oriented applications make users of wider range accept the mobile phone as one of the necessary tools in daily life, and promote the mobile phone market.

The time display function is always one of the important: functions for mobile phone, as it brings much convenience for people. In some cases, the time display function replaces the wrist watch for users. However, current mobile phones only display time in the power on state, and cannot display time in power off state. This situation causes considerable inconvenience to people. For example, in environments which are sensitive to electronic interference, usage of mobile phones is not allowed. This is because of the belief that mobile phones tend to generate radio frequency signals during use or in normal standby state, which may generate EMI (Electro Magnetic Interference) to some apparatuses and negatively affect safety (e.g., to aircraft instruments or to medical devices). Further, some mobile phone users usually shut down their mobile phones at night in order to save power and/or as a precaution against radiation irrespective whether such precaution is warranted.

SUMMARY OF THE INVENTION

The present invention provides, in an embodiment, a method for time display on a mobile phone. The method of the present invention, in an embodiment renders that the mobile phone can display time in a non-standby state, wherein the non-standby state is a third state, i.e., a pseudo power off state, besides the standby state and the power off state. In the third state, the mobile phone can display time without generating radio frequency signal.

In order to achieve the above object, the present invention, in an embodiment, discloses a method for time display on the mobile phone, wherein the following steps are comprised:

step 1, in standby state, setting a pseudo power off identifier for the mobile phone;

step 2, when the system identifies that the pseudo power off identifier is active, the system coming into the pseudo power off state;

step 3, the system continually obtaining a new time value through a bottom clock, and displaying the new time value on a LCD; and

step 4, the system quitting the pseudo power off state, and restarting.

In the method, according to an embodiment, of the present invention, the step 2 further comprises the following step: the system, when identifying that the pseudo power off identifier is active, stores the current time to the storage system of the mobile phone; the step 3 further comprises the following step: the system obtains the time stored in the storage system as a reference value for time display, and obtains a new time value by way of calculation through the bottom clock; and the step 4 further comprises the following step: the system clears the time values stored in the storage system when quits the pseudo power off state.

In the step 2 of the above method, wherein the system judges whether the pseudo power off identifier is active through long pressing the function key.

The step 2 further comprises a step of shutting down and restarting the system; wherein, the system shuts down when the function key is long pressed, and the system identifies that the pseudo power off identifier is active, then stores the current time into the storage system of the mobile phone; after the current time is stored, the system restarts, and the system only restarts tasks relevant to the storage system, and the system comes into the pseudo power off state.

In the step 2, after the system identifies the pseudo power off identifier, the process proceeds to the following step: shut down each task while only keep the tasks relevant to the bottom clock of the system, then the system comes into the pseudo power off state, wherein the tasks which are shut down at least include a radio frequency task.

In the step 4, the system quits the pseudo power off state through responding to an advanced interrupt, and clears the time values stored in the storage system through calling an interrupt function, then calls an endless loop function and restarts.

In the method, according to an embodiment, of the present invention, the advanced interrupt is an event of long pressing the function key.

In the method according to the present invention, in an embodiment, the storage system is an embedded file system (EFS) of a CDMA mobile phone.

The method according to an embodiment of the present invention further comprises a step of judging whether the time reference value obtained from the storage system is zero, if it is zero, the system will directly come into a normal starting process, but not into a pseudo power off state, and if it is not zero, the system will come into the pseudo power off state.

The method according to the present invention, in an embodiment, further comprises a step of compensating the obtained time data stored in the storage system.

In the method according to the present, invention, in an embodiment, the step 3 further comprises the following steps:

step 3.1, setting a bottom timer, and the timer being able to generate interrupt when the mobile phone is in the dormant state;

step 3.2, starting the timer;

step 3.3, turning off a fast clock temperature compensated crystal oscillator (TCXO), switching to a slow clock and entering a chip into a dormant mode;

step 3.4, when the timer reaches, an interrupt will be generated, then calling the interrupt function, and in the interrupt function, switching the slow clock to the fast clock temperature compensated crystal oscillator, calculating the newest time data and renewing the LCD for the new time display; and

step 3.5, re-setting the timer, turning off the fast clock and entering into the dormant mode.

By setting a third state, i.e., the pseudo power off state, the present invention, in an embodiment, enables the mobile phone to display time without radio frequency signal

BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS

FIG. 1 is a flow chart of an embodiment, for implementing the present invention.

EMBODIMENTS FOR CARRYING OUT THE PRESENT INVENTION

The invention will now be described in detail with reference to a few preferred embodiments, as illustrated in the accompanying drawings. In the following description, numerous specific details axe set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art, that the invention may be practiced without some or all of these specific details. In other instances, well-known process steps and/or features have not been described in detail in order to not unnecessarily obscure the invention. The features and advantages of the invention may be better understood with reference to the drawings and discussions that follow.

The present invention is to realize, in an embodiment, a third state which exists in addition to the normal standby state and the power off state of the mobile phone. In this state, the mobile phone will generate substantially no radio frequency signal, i.e., the mobile phone is invisible to the network, so it will not generate EMI (Electro Magnetic Interference) to sensitive apparatuses. In this third state, there will be substantially no radiation of radio frequency to the ambient environment or to nearby people. Additionally, power consumption is very small in this third state, and the current is at around 5 milli-amperes in an example implementation, thus achieving the aim of saving power. In the following, this third state is referred to as “a pseudo power off state”.

A technical solution for carrying out the present invention is as follows:

-   1. Setting a pseudo power off identifier through the menu,     preferably from the stand-by state. -   2. When the user shuts down the mobile phone through pressing the     function key for an extended period of time (for example the hang up     key), a mobile phone software module judges that the present pseudo     power off identifier is active, and storing the current time in the     storage system. For example, for the present CDMA mobile phone, it     is the embedded file system (EFS), and as for the GSM criterion     mobile phone, it need not store time) of the mobile phone; then the     system restarting, and the system only starting tasks relevant to     the storage system when restarting, then the system coming into the     pseudo power off state. The extended pressing of a designated key     (longer than a predefined duration threshold) is referred to herein     as “long pressing,” serving to distinguish such pressing from merely     depressing for a shorter period than the predefined duration     threshold. -   3. Obtaining the time stored before the restarting of the system as     a reference value for the time display, and continuously obtaining a     new time value by way of calculation through the bottom clock (as     for the GSM criterion mobile phone, the bottom clock data can be     obtained directly), and displaying the time on the LCD. The present     state is the pseudo power off state. -   4. In the pseudo power off state, the mobile phone software setting     the event of long pressing the function key as an advanced     interrupt, and at this time, if the function key is long pressed,     the system will quit the pseudo power off state, call an interrupt     function, clear the time values stored in the storage system of the     mobile phone, then call an endless loop function and restart.

Another technical solution for carrying out the present invention is as follows:

-   1. In the standby state, setting a pseudo power off identifier     through the menu; -   2. Long pressing the function key to activate the pseudo power off     state. If the mobile phone software judges that the pseudo power off     identifier is active currently, then shutting down the tasks such as     radio frequency, except for the system clock, is performed. -   3. Obtaining the time stored in the system as a reference value for     the time display, and obtaining a new time value continuously by way     of calculation through the bottom clock, displaying the time on the     LCD. The present state is the pseudo power off state. -   4. In the pseudo power off state, the mobile phone software sets the     event of long pressing the function key as an advanced interrupt,     and at this time, if the function key is long pressed, the system     will quit the pseudo power off state, call an interrupt function,     clear the time values stored in the storage system of the mobile     phone, then call an endless loop function and restart.

The differences between the first and the second technical solutions lie in the transition from the standby state to the pseudo power off state, the manner for shutting down the tasks irrelevant to the pseudo power off function, and whether the mobile phone needs to restart.

FIG. 1 is a flow chart, of an embodiment for implementing an embodiment of the present invention, which includes at least the following steps:

-   step 1: In the standby state, the user sets the pseudo power off     identifier to be active through a user-selectable menu, and stores     the pseudo power off identifier in the non-volatile memory section     (step 101); -   step 2: The user shuts down the mobile phone by long pressing the     function key (step 102). The mobile phone software judges whether     the present pseudo power off identifier is active (step 103). If the     pseudo power off identifier is not active, the mobile phone shuts     down normally (step 105). On the other hand. If the mobile phone     software judges the present pseudo power off identifier is active,     the current time is stored into the EFS (as for the GSM criterion     mobile phone, it need not store time). Thereafter, the pseudo power     off state is entered (step 104). In the software system of QUALCOMM™     phones or phones that conform to standards promulgated by QUALCOMM™,     the time value to be stored is an integer value of double bytes,     which represents the seconds passing from zero o'clock, zero minute,     zero second on Jan. 6, 1980 until now. The time information of the     format of hour, minute, and second such as that usually seen on CDMA     (Code Division Multiple Access) mobile phone actually is obtained     through the transformation of the double bytes Integer.

In the EFS system, data are stored in the form of a file, therefore, the double bytes data is stored in a file with a determined name, and the data in the file still occupies two bytes.

After the time data is stored successfully, through the way of calling an endless loop function, the hardware watchdog function kicks in due time and the system restarts;

-   step 3: restart the system, after the EFS task is started, opening     the file in which the time data, is stored, obtaining the time data     and judging whether it is zero. If the time data is not zero, stop     starting other tasks in the software procedure, take the time data     as the reference value for the time display, obtain new time values     continually by way of calculation through the bottom clock, display     the time on the LCD, and the state at this time is the pseudo power     off state; or, if the time data is zero, it is thought that the     starting of this time does not come into the pseudo power off state,     but directly comes into a normal starting process, and start other     tasks.

In the above circumstance where the time data is not zero, because only the EFS task is started, and other radio frequency-related tasks are not started, so it guarantees that no radio frequency signal is generated;

In order to display time more accurately, certain compensation may be made to the time data obtained after restarting, because there may be certain time delay from storing data before starting to obtaining the time data for displaying after starting, and the time delay can be estimated through a test, further, for products of different platforms, its time delay periods have certain difference; on the other hand, the pseudo power off state relies on the bottom interrupt to arouse the system and display time, and it also will produce time delay in this process, so it needs to be compensated, too.

When the system comes into the pseudo power off state, the following steps may be completed:

-   -   setting a bottom timer, the effect of the timer is that when the         mobile phone is in the dormant, state, it still generates         interrupt, and activates the software through the interrupt         function;     -   starting the timer;     -   shutting down the fast clock TCXO (Temperature Compensated         Crystal Oscillator), switching to the slow clock, and entering         the chip into a dormant mode;     -   when the timer reaches, an interrupt will be generated, then         call the interrupt function, and in the interrupt function,         switch the slow clock to the fast clock TCXO, calculate the         newest time data and renew the LCD for the new time display; and     -   resetting the tinier, shutting down the fast clock and entering         into the dormant mode.

From the steps above, it can be seen that the system is actually in a non-stop circulation process of “arousing-displaying-dormant-re-arousing”. Compared with the dormant time (set to be 6 seconds in an example implementation), the lime for the software to arouse to display the newest data is fairly short, which is on the millisecond level. Accordingly, when in the pseudo power off state, most of the time the mobile phone is in the dormant state. Thus, power saving is realized.

Step 4: in the pseudo power off state, the event of long pressing the function key is set to be the advanced interrupt in the mobile phone software. At this time, in response to long press the function key, the system will call an interrupt function, and modify the time value stored in the EFS into zero in the interrupt function so as to guarantee that mobile phone will enter the normal starting flow next time, then call an endless loop function and restart;

Step 5: after restarting, the system obtains the time data stored in the EFS, if the time data is more than zero, the pseudo power off program will be started, or, if the time data is zero, it will enter into the normal starting flow (step 106).

-   -   1. When the user does not need the pseudo power off state, he or         she should clear the pseudo power off identifier. If the user         has not cleared the pseudo power off identifier in the menu, the         mobile phone will come into the pseudo power off state when         shutting down the mobile phone each time, until the such         identifier is cleared.     -   2. As can be appreciated from the foregoing, the invention is         platform-independent and adaptable to use in mobile terminals         employing CDMA1X, GSM, PHS, WCDMA, TD-SCDMA, CDMA2000, and other         terminals such as fixed-station and vehicle-mounted station.

By adopting the method and mobile phone of the present invention, users can get time displayed in their mobile phone even when the mobile phone not in the standby state, and time can be displayed in the third state which exists in addition to the normal standby state and the power off state of the mobile phone. In this pseudo power off state, on the one hand, the mobile phone will not generate radio frequency signal or generates an insignificant amount of RF signal, i.e., the mobile phone is invisible to the network, so it will, not generate EMI (Electro Magnetic Interference) to sensitive device. Further, as mentioned, there is substantially no radiation of radio frequency to the ambient environment and to nearby people/objects. Additionally, the invention ensures that power consumption is very small in the pseudo power off state, thereby saving power and extending battery life.

While the invention has been described in terms of several preferred embodiments, there are alterations, permutations, and equivalents which fall within the scope of this invention. Further, the summary and abstract are provided for convenience only and should not be construed to limit the scope of the invention. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the invention. 

1. A method for time display on a mobile phone, comprising: a) setting a pseudo power off identifier for said mobile phone responsive to receiving a pseudo power off setting from a user of said mobile phone; b) entering said pseudo power off state upon receiving a pseudo power off indication from said user when said pseudo power off identifier is set; c) periodically obtaining a new time value through a bottom clock, and displaying said new time value on a LCD of said mobile phone in said pseudo power off state.
 2. The method according to claim 1 wherein said step b) further includes storing the current time to a storage system of the mobile phone 2 upon entering said pseudo power off state, and wherein said step c) further includes obtaining the time stored in the storage system as a reference value for time display, and obtaining a new time value by way of calculation through a bottom clock and wherein time values stored in said storage system are cleared when exiting said pseudo power off state.
 3. The method according to claim 2 wherein said pseudo power off indication is represented by long pressing a function key.
 4. The method according to claim 3, wherein said step b) further includes shutting down and restarting said mobile phone, said shutting down is accomplished by long pressing said function key, and if said pseudo power off identifier is active upon said shutting down, said current time is stored into said storage system of the mobile phone; said restarting commences after said current time is stored, wherein only tasks relevant to said storage system and said displaying said time are restarted, thereby enabling said mobile phone to enter said pseudo power off state.
 5. The method according to claim 4 further comprising exiting said pseudo power off state by responding to an advanced interrupt, and as part of said exiting, clearing said time values stored in said storage system through calling an interrupt function, then calling an endless loop function and restarting.
 6. The method according to claim 4 further comprising judging whether a time reference value obtained from said storage system is zero, if said time reference value is zero, starting said mobile phone normally instead of entering said pseudo power off state and if said time reference value is zero, entering said pseudo power off state.
 7. The method according to claim 3 wherein said step b) further includes, after said pseudo power off indication is received, shutting down each task while only keeping tasks relevant to a bottom clock of said mobile phone, then entering into said pseudo power off state, wherein tasks which are shut down at least include a radio frequency task.
 8. The method according to claim 7 further comprising exiting said pseudo power off state by responding to an advanced interrupt, and as part, of said exiting, clearing said time values stored in said storage system through calling an interrupt function, then calling an endless loop function and restarting.
 9. The method according to claim 7 further comprising judging whether a time reference value obtained from said storage system is zero, if said time reference value is zero, starting said mobile phone normally instead of entering said pseudo power off state and if said time reference value is zero, entering said pseudo power off state.
 10. The method according to claim 2 wherein said storage system is an embedded file system of a CDMA mobile phone.
 11. The method according to claim 10 further comprising judging whether a time reference value obtained from said storage system is zero, if said time reference value is zero, starting said mobile phone normally instead of entering said pseudo power off state and if said time reference value is zero, entering said pseudo power off state.
 12. The method according to claim 2 further comprising judging whether a time reference value obtained from said storage system is zero, if said time reference value is zero, starting said mobile phone normally instead of entering said pseudo power off state and if said time reference value is zero, entering said pseudo power off state.
 13. The method according to claim 12 further comprising compensating the obtained time data stored in the storage system.
 14. The method according to claim 2 further comprising exiting said pseudo power off state by responding to an advanced interrupt, and as part of said exiting, clearing said time values stored in said storage system through calling an interrupt function, then calling an endless loop function and restarting.
 15. The method according to claim 14 wherein said advanced interrupt is an event of long pressing said function key.
 16. The method according to claim 15 further comprising judging whether a time reference value obtained from said storage system is zero, if said time reference value is zero, starting said mobile phone normally instead of entering said pseudo power off state and if said time reference value is zero, entering said pseudo power off state.
 17. The method according to claim 2, further comprising setting a bottom timer, and said timer being able to generate interrupt when the mobile phone is in the dormant state; starting said timer; turning off a fast clock temperature compensated crystal oscillator, switching to a slow clock and entering a chip into the dormant mode; when said timer expires, generating an interrupt and calling the interrupt, function, and in the interrupt function, switching the slow clock to the fast clock temperature compensated crystal oscillator, calculating the newest time data and renewing the LCD for the new time display; and re-setting the timer, turning off the fast clock and entering into the dormant mode.
 18. The method according to claim 1 wherein step b) further comprises judging whether said pseudo power off identifier is active through long pressing said function key.
 19. The method according to claim 1 further comprising exiting said pseudo power off state by responding to an advanced interrupt, and as part of said exiting, dealing said time values stored in said storage system through calling an interrupt function, then calling an endless loop function and restarting.
 20. The method according to claim 1 further comprising: setting a bottom timer, and the timer being able to generate interrupt when the mobile phone is in the dormant state; starting the timer; turning off a fast clock temperature compensated crystal oscillator, switching to a slow clock and entering a chip into the dormant mode; when the timer reaches, generating an interrupt then calling the interrupt function, and in the interrupt function, switching the slow clock to the fast clock temperature compensated crystal oscillator, calculating the newest time data and renewing the LCD for the new time display; and re-setting the timer, turning off the fast clock and entering into the dormant mode. 